﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_video.aspx.cs" Inherits="admin_cms_default"
    EnableEventValidation="true" %>

<%@ Register TagPrefix="FCK" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2, Version=2.6.3.41079, Culture=neutral, PublicKeyToken=4f86767c9b519a06" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <style type="text/css">
        .checkgroup1
        {
            margin: 10px 10px;
        }

        .bor_checkbox
        {
            background-color: #C9CBCC;
            padding: 10px 10px;
        }

        .bor_checkbox1
        {
            background-color: #efebe8;
            padding: 10px 10px;
        }
    </style>
    <div class="all_khung_form1">

        <div class="top_khung_form1">
            <h5>Quản lý video</h5>
        </div>
        <div style="float: left; margin-left: 45px; width: 100%; overflow: hidden;">
            <h3 style="float: left; font-size: 12px; font-weight: normal; line-height: 25px; width: 150px;">Nội dung video:
            </h3>
            <br />
            <%--<CKEditor:CKEditorControl ID="CKE" runat="server" Width="910px" Height="600px" ResizeEnabled="false"
                BasePath="ckeditor/">
            </CKEditor:CKEditorControl>--%>
            <%--<FCK:FCKeditor ToolbarSet="Basic" runat="server" ID="fckeditornews" Width="910px" Height="600px"
                        BasePath="~/fckeditor/"></FCK:FCKeditor>--%>
            <FCK:FCKeditor runat="server" ID="fckvideo" Width="910px" Height="250px" BasePath="~/fckeditor/">
            </FCK:FCKeditor>
        </div>

        <div class="khung_form1">
            <asp:Button ID="Button1" runat="server" Text="Thêm mới" OnClick="Yahoo_Insert" /><asp:Button
                ID="Button2" runat="server" Text="Update" OnClick="yahoo_update" />
        </div>
    </div>

    <div class="all_khung_form3">
        <div class="griv_content">
            <asp:GridView ID="GridView1" runat="server" CssClass="mGrid" PagerStyle-CssClass="pgr"
                Font-Size="12px" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#DFE2E4"
                OnRowCommand="grv_yahoo_click">
                <Columns>
                    <asp:BoundField HeaderText="Mã Video" DataField="Id" />
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Video">
                        <ItemTemplate>
                            <%#Eval("conntent") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Xóa">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Acces Denied Sign.png"
                                CssClass="grivimg" ID="imgxoa" CommandArgument='<%#Eval("Id") %> '
                                CommandName="X" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Sửa">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Create Write.png"
                                ID="imgsua" CommandArgument='<%#Eval("Id") %> ' CommandName="S" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
